from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
_magic_number = 2
_modified_time = 1210809772.6730881
_template_filename='/usr/local/wikipedia-controversy/wiki/templates/search.mako'
_template_uri='/search.mako'
_template_cache=cache.Cache(__name__, _modified_time)
_source_encoding='utf-8'
_exports = []


def render_body(context,**pageargs):
    context.caller_stack.push_frame()
    try:
        __M_locals = dict(pageargs=pageargs)
        c = context.get('c', UNDEFINED)
        # SOURCE LINE 2
        context.write(u'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n\n<head>\n<title>')
        # SOURCE LINE 6
        context.write(unicode(c.term))
        context.write(u' - Search - Wikipedia Revision Analysis</title> \n<link rel="StyleSheet" href="/main.css" type="text/css" media="screen" />\n<link rel="StyleSheet" href="/shared.css" type="text/css" media="screen" />\n<script type="text/javascript" src="/highlight.js"></script>\n</head>\n\n<body class="mediawiki ns-0 ltr">\n<div id="globalWrapper"><div id="column-content">\n\n<!-- Title -->\n<div id="content">\n<h1 class="firstHeading">Wikipedia Revision Analysis</h1>\n<div id="contentSub"></div>\n\n<!-- Search form -->\n<div class="portlet" id="p-search" style="text-align: center; vertical-align: middle; margin: 0 auto 0 auto; padding: 0.1em; width: 540px; max-width: 95%;">\n<form action="/search" id="searchform">\n<fieldset style="border: 1px solid #aaaaaa; background-color: #f9f9f9; padding: 0.7em; width: auto; margin-top: 0.5em;">\nSearch for title: \n<input type="text" name="term" size="20" id="searchInput" style="vertical-align: top; padding: 0; margin: 0; font-size: 1.2em;" value="')
        # SOURCE LINE 25
        context.write(unicode(c.term))
        context.write(u'" />\n<input type="submit"  value="  \u203a  " style="vertical-align: top; padding: 0; margin: 0; font-size: 120%;" />\n</fieldset>\n</form>\n</div>\n<!-- Focus -->\n<script type="text/javascript">\n document.forms[0].term.focus();\n</script>\n\n<!-- Main content -->\n<div id="bodyContent">\n<h1>Search Results</h1>\n<div id="contentSub2"></div>\n\n<div id="searchresults">')
        # SOURCE LINE 40
        context.write(unicode(c.body))
        context.write(u'</div>\n</div></div>\n<script type="text/javascript">\nhighlight("')
        # SOURCE LINE 43
        context.write(unicode(c.term))
        context.write(u'");\n</script>\n\n<!-- Tabs -->\n<div id="p-cactions" class="portlet">\n  <h5>Views</h5>\n  <div class="pBody">\n    <ul>\n      <li><a href="/">home</a></li>\n      <li id="ca-talk" class="selected"><a href="/search">search</a></li>\n    </ul>\n  </div>\n</div>\n\n</div></div>\n\n<!-- Footer -->\n<div class="visualClear"></div><div id="footer">\n\tdeveloped by <a href="mailto:marlink@gmail.com">Mark Perry</a>, \n\tmade a reality by collaboration with Joseph Poon, \n\treleased under <a href="http://www.fsf.org/licensing/licenses/info/GPLv2.html">GPLv2</a><br/>\n\tsite powered by <a href="http://pylonshq.com/">pylons</a>,\n\tcorpus and css from <a href="http://wikipedia.org">Wikipedia</a>\n</div>\n\n</body></html>\n')
        return ''
    finally:
        context.caller_stack.pop_frame()


